<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<py:def function="page_title">Mail</py:def>
<py:def function="head_info">
<link rel="stylesheet" type="text/css" href="${tg.url('/static/css/login.css')}" />
</py:def>
<py:def function="page_parents"></py:def>

<py:match path="content">
    <py:choose>
        <div py:when="tg.config('mail.on', False)" py:replace="tg.display(form, {'recipients': recipients})"></div>
        <py:otherwise>
            <p>Sorry, but email has been disabled on this server.</p>
            <p>Contact your system administrator if you think this is incorrect.</p>
        </py:otherwise>
    </py:choose>
</py:match>

<xi:include href="master.html" />

</html>
